package com.jeegit.ecms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jeegit.common.annotation.Excel;
import com.jeegit.common.core.domain.BaseEntity;

/**
 * 视频详情对象 cms_video_data
 * 
 * @author jeegit
 * @date 2022-06-27
 */
public class CmsVideoData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 相关文章 */
    @Excel(name = "相关文章")
    private String relation;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String content;

    /** 购买用户内容 */
    @Excel(name = "购买用户内容")
    private String buyerContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setBuyerContent(String buyerContent) 
    {
        this.buyerContent = buyerContent;
    }

    public String getBuyerContent() 
    {
        return buyerContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relation", getRelation())
            .append("content", getContent())
            .append("buyerContent", getBuyerContent())
            .toString();
    }
}
